Skip to main content

All Questions

292votes
13answers
327kviews

ng-model for `<input type="file"/>` (with directive DEMO)

I tried to use ng-model on input tag with type file: <input type="file" ng-model="vm.uploadme" /> But after selecting a file, in controller, $scope.vm.uploadme is still undefined. How do I get ...
Endy Tjahjono's user avatar

close